package com.cutePet.pet.dao;

import com.cutePet.pet.domain.AnimalDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author charley
 * @email www.linqiaoli.com@qq.com
 * @date 2019-09-18 16:53:05
 */
@Mapper
public interface AnimalDao {

	AnimalDO get(Long animalId);
	
	List<AnimalDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(AnimalDO animal);
	
	int update(AnimalDO animal);
	
	int remove(Long animal_id);
	
	int batchRemove(Long[] animalIds);
}
